package com.example.mybatisplus.service.impl;

import com.example.mybatisplus.mapper.StudifMapper;
import com.example.mybatisplus.model.domain.Tea;
import com.example.mybatisplus.mapper.TeaMapper;
import com.example.mybatisplus.service.TeaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yp
 * @since 2021-10-22
 */
@Service
public class TeaServiceImpl extends ServiceImpl<TeaMapper, Tea> implements TeaService {
    @Autowired
    private TeaMapper teaMapper;

    @Override
    public List<Tea> selectByTea(Tea tea) {
        return teaMapper.selectByTea(tea);
    }
}
